package com.push.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.push.common.annotation.Excel;
import com.push.common.core.domain.BaseEntity;

/**
 * 多模态数据对象 biz_multimodal_file
 *
 * @author bguan
 * @date 2024-04-09
 */
public class BizMultimodalFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 数据类型（图片0/视频1/音频2/文本3） */
    @Excel(name = "数据类型", readConverterExp = "图=片0/视频1/音频2/文本3")
    private Integer dataType;

    /** MD5值（唯一标识） */
    @Excel(name = "MD5值", readConverterExp = "唯=一标识")
    private String dataKey;

    /** avator */
    @Excel(name = "avator")
    private String avator;

    /** 原始标题 */
    @Excel(name = "原始标题")
    private String titleOrg;

    /** 中文标题 */
    @Excel(name = "中文标题")
    private String titleCn;

    /** 发布机构 */
    @Excel(name = "发布机构")
    private String publisher;

    /** 原始摘要(介绍/描述) */
    @Excel(name = "原始摘要(介绍/描述)")
    private String summaryOrg;

    /** 中文摘要 */
    @Excel(name = "中文摘要")
    private String summaryCn;

    /** 原始全文 */
    @Excel(name = "原始全文")
    private String contentsOrg;

    /** 中文全文 */
    @Excel(name = "中文全文")
    private String contentsCn;

    /** 原始url */
    @Excel(name = "原始url")
    private String url;

    /** 本地存储路径 */
    @Excel(name = "本地存储路径")
    private String localPath;

    /** 标签 */
    @Excel(name = "标签")
    private String labels;

    /** 所属文章URL */
    @Excel(name = "所属文章URL")
    private String articleUrl;

    /** 所属文章名称 */
    @Excel(name = "所属文章名称")
    private String article;

    /** 数据源ID */
    @Excel(name = "数据源ID")
    private Long sourceId;

    /** 后缀格式 */
    @Excel(name = "后缀格式")
    private String fileFormat;

    /** （视频/音频）时长 */
    @Excel(name = "", readConverterExp = "视=频/音频")
    private Date lastTime;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private String size;

    /** 来源类型(网络0/用户上传1) */
    @Excel(name = "来源类型(网络0/用户上传1)")
    private Integer sourceType;

    /** 上传用户ID */
    @Excel(name = "上传用户ID")
    private Long uploadUserId;

    /** 租户ID */
    @Excel(name = "租户ID")
    private String tenantId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDataType(Integer dataType)
    {
        this.dataType = dataType;
    }

    public Integer getDataType()
    {
        return dataType;
    }
    public void setDataKey(String dataKey)
    {
        this.dataKey = dataKey;
    }

    public String getDataKey()
    {
        return dataKey;
    }
    public void setAvator(String avator)
    {
        this.avator = avator;
    }

    public String getAvator()
    {
        return avator;
    }
    public void setTitleOrg(String titleOrg)
    {
        this.titleOrg = titleOrg;
    }

    public String getTitleOrg()
    {
        return titleOrg;
    }
    public void setTitleCn(String titleCn)
    {
        this.titleCn = titleCn;
    }

    public String getTitleCn()
    {
        return titleCn;
    }
    public void setPublisher(String publisher)
    {
        this.publisher = publisher;
    }

    public String getPublisher()
    {
        return publisher;
    }
    public void setSummaryOrg(String summaryOrg)
    {
        this.summaryOrg = summaryOrg;
    }

    public String getSummaryOrg()
    {
        return summaryOrg;
    }
    public void setSummaryCn(String summaryCn)
    {
        this.summaryCn = summaryCn;
    }

    public String getSummaryCn()
    {
        return summaryCn;
    }
    public void setContentsOrg(String contentsOrg)
    {
        this.contentsOrg = contentsOrg;
    }

    public String getContentsOrg()
    {
        return contentsOrg;
    }
    public void setContentsCn(String contentsCn)
    {
        this.contentsCn = contentsCn;
    }

    public String getContentsCn()
    {
        return contentsCn;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setLocalPath(String localPath)
    {
        this.localPath = localPath;
    }

    public String getLocalPath()
    {
        return localPath;
    }
    public void setLabels(String labels)
    {
        this.labels = labels;
    }

    public String getLabels()
    {
        return labels;
    }
    public void setArticleUrl(String articleUrl)
    {
        this.articleUrl = articleUrl;
    }

    public String getArticleUrl()
    {
        return articleUrl;
    }
    public void setArticle(String article)
    {
        this.article = article;
    }

    public String getArticle()
    {
        return article;
    }
    public void setSourceId(Long sourceId)
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId()
    {
        return sourceId;
    }
    public void setFileFormat(String fileFormat)
    {
        this.fileFormat = fileFormat;
    }

    public String getFileFormat()
    {
        return fileFormat;
    }
    public void setLastTime(Date lastTime)
    {
        this.lastTime = lastTime;
    }

    public Date getLastTime()
    {
        return lastTime;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setSourceType(Integer sourceType)
    {
        this.sourceType = sourceType;
    }

    public Integer getSourceType()
    {
        return sourceType;
    }
    public void setUploadUserId(Long uploadUserId)
    {
        this.uploadUserId = uploadUserId;
    }

    public Long getUploadUserId()
    {
        return uploadUserId;
    }
    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("dataType", getDataType())
            .append("dataKey", getDataKey())
            .append("avator", getAvator())
            .append("titleOrg", getTitleOrg())
            .append("titleCn", getTitleCn())
            .append("publisher", getPublisher())
            .append("summaryOrg", getSummaryOrg())
            .append("summaryCn", getSummaryCn())
            .append("contentsOrg", getContentsOrg())
            .append("contentsCn", getContentsCn())
            .append("url", getUrl())
            .append("localPath", getLocalPath())
            .append("labels", getLabels())
            .append("articleUrl", getArticleUrl())
            .append("article", getArticle())
            .append("sourceId", getSourceId())
            .append("fileFormat", getFileFormat())
            .append("lastTime", getLastTime())
            .append("size", getSize())
            .append("sourceType", getSourceType())
            .append("uploadUserId", getUploadUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("tenantId", getTenantId())
            .toString();
    }
}
